package com.kinyx.framework.utils;

import org.junit.Assert;
import org.junit.Test;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public class KStringUtils_Tester_fillZero {

	@Test
	public void test() {
		Assert.assertEquals("3", KStringUtils.fillZero(3, 1));
		Assert.assertEquals("03", KStringUtils.fillZero(3, 2));
		Assert.assertEquals("003", KStringUtils.fillZero(3, 3));

		Assert.assertEquals("33", KStringUtils.fillZero(33, 1));
		Assert.assertEquals("33", KStringUtils.fillZero(33, 2));
		Assert.assertEquals("033", KStringUtils.fillZero(33, 3));
	}

}
